package com.yangyouli.unity_demo_server.service;

import com.yangyouli.unity_demo_server.server.RoomObj;
import com.yangyouli.unity_demo_server.server.serializeModel.Room;

public interface RoomService {

	/**
	 * 将房间对象转化为 Room 对象
	 * @param roomObj
	 * @return
	 */
	Room getByRoomObj (RoomObj roomObj);
	
	/**
	 * 传入房间 id， 返回 Room 对象
	 * @param roomId
	 * @return
	 */
	Room getByRoomObj (String roomId);
}
